﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Renci.Data.Interop.OpenGIS.Gml_32
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(TypeName = "FileType", Namespace = "http://www.opengis.net/gml/3.2")]
    [System.Xml.Serialization.XmlRootAttribute("File", Namespace = "http://www.opengis.net/gml/3.2", IsNullable = false)]
    public class FileType
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("rangeParameters")]
        public AssociationRoleType RangeParameters { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("fileName", typeof(string), DataType = "anyURI")]
        [System.Xml.Serialization.XmlElementAttribute("fileReference", typeof(string), DataType = "anyURI")]
        [System.Xml.Serialization.XmlChoiceIdentifierAttribute("FileNameType")]
        public string FileName { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public FileNameReferenceType FileNameType { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("fileStructure")]
        public CodeType FileStructure { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("mimeType", DataType = "anyURI")]
        public string MimeType { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("compression", DataType = "anyURI")]
        public string Compression { get; set; }


        /// <remarks/>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
        [System.SerializableAttribute()]
        [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.opengis.net/gml/3.2", IncludeInSchema = false)]
        public enum FileNameReferenceType
        {
            /// <remarks/>
            [System.Xml.Serialization.XmlEnumAttribute("fileName")]
            FileName,

            /// <remarks/>
            [System.Xml.Serialization.XmlEnumAttribute("fileReference")]
            FileReference,
        }
    }
}
